home *** CD-ROM | disk | FTP | other *** search
/ Skunkware 5 / Skunkware 5.iso / man / cat.1 / ppmtosixel.1 < prev    next >
Text File  |  1995-07-25  |  3KB  |  67 lines

  1.  
  2.  
  3.  
  4.      ppppppppmmmmttttoooossssiiiixxxxeeeellll((((1111))))    XXXXEEEENNNNIIIIXXXX SSSSyyyysssstttteeeemmmm VVVV ((((22226666 AAAApppprrrriiiillll 1111999999991111))))     ppppppppmmmmttttoooossssiiiixxxxeeeellll((((1111))))
  5.  
  6.  
  7.  
  8.      NNNNAAAAMMMMEEEE
  9.           ppmtosixel - convert a portable pixmap into DEC sixel format
  10.  
  11.      SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
  12.           ppppppppmmmmttttoooossssiiiixxxxeeeellll [----rrrraaaawwww] [----mmmmaaaarrrrggggiiiinnnn] [_p_p_m_f_i_l_e]
  13.  
  14.      DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
  15.           Reads a portable pixmap as input.  Produces sixel commands
  16.           (SIX) as output.  The output is formatted for color
  17.           printing, e.g. for a DEC LJ250 color inkjet printer.
  18.  
  19.           If RGB values from the PPM file do not have maxval=100, the
  20.           RGB values are rescaled.  A printer control header and a
  21.           color assignment table begin the SIX file.  Image data is
  22.           written in a compressed format by default.  A printer
  23.           control footer ends the image file.
  24.  
  25.      OOOOPPPPTTTTIIIIOOOONNNNSSSS
  26.           ----rrrraaaawwww If specified, each pixel will be explicitly described
  27.                in the image file.  If ----rrrraaaawwww is not specified, output
  28.                will default to compressed format in which identical
  29.                adjacent pixels are replaced by "repeat pixel"
  30.                commands.  A raw file is often an order of magnitude
  31.                larger than a compressed file and prints much slower.
  32.  
  33.           ----mmmmaaaarrrrggggiiiinnnn
  34.                If ----mmmmaaaarrrrggggiiiinnnn is not specified, the image will be start at
  35.                the left margin (of the window, paper, or whatever).
  36.                If ----mmmmaaaarrrrggggiiiinnnn is specified, a 1.5 inch left margin will
  37.                offset the image.
  38.  
  39.      PPPPRRRRIIIINNNNTTTTIIIINNNNGGGG
  40.           Generally, sixel files must reach the printer unfiltered.
  41.           Use the lpr -x option or cat filename > /dev/tty0?.
  42.  
  43.      BBBBUUUUGGGGSSSS
  44.           Upon rescaling, truncation of the least significant bits of
  45.           RGB values may result in poor color conversion.  If the
  46.           original PPM maxval was greater than 100, rescaling also
  47.           reduces the image depth.  While the actual RGB values from
  48.           the ppm file are more or less retained, the color palette of
  49.           the LJ250 may not match the colors on your screen.  This
  50.           seems to be a printer limitation.
  51.  
  52.      SSSSEEEEEEEE AAAALLLLSSSSOOOO
  53.           ppm(5)
  54.  
  55.      AAAAUUUUTTTTHHHHOOOORRRR
  56.           Copyright (C) 1991 by Rick Vinci.
  57.  
  58.  
  59.  
  60.  
  61.  
  62.  
  63.      Page 1                                           (printed 9/7/93)
  64.  
  65.  
  66.  
  67.